/* 手机版*/

body {
  position: relative;
  overflow-x: hidden;
  background: #333;
}

.m-top {
  position: absolute;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  background: #fff;
}

.m-logo {
  display: block;
  position: absolute;
  left: 10px;
  top: 10px;
}

.m-logo img {
  height: 40px;
}

.m-top .btn {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  height: 60px;
  padding: 22px 52px 0 10px;
  text-align: center;
  background: #ca1528;
}

.m-top .btn::before {
  content: "导航";
  position: absolute;
  right: 10px;
  top: 20px;
  font-size: 18px;
  line-height: 20px;
  color: #fff;
}

.m-top .btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}

.m-top .btn span:nth-child(2) {
  margin: 4px 0;
}

.cross span:nth-of-type(1) {
  transform: translateY(7px) rotate(-45deg);
}

.cross span:nth-of-type(2) {
  opacity: 0;
}

.cross span:nth-of-type(3) {
  transform: translateY(-7px) rotate(45deg);
}

header {
  position: absolute;
  z-index: 99;
  right: -150px;
  top: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  padding-top: 86px;
  background: #333;
}

.logo {
  display: none;
}

header li a {
  display: block;
  font: 400 16px/36px "微软雅黑";
  color: #fff;
  text-align: center;
}

header li a .b {
  display: none;
}

.lang {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.lang ul {
  display: flex;
  justify-content: center;
}

.lang a {
  display: block;
  padding: 0 10px;
  font-size: 16px;
  line-height: 14px;
  color: #fff;
  text-align: center;
  border-left: 1px solid #fff;
}

.lang ul li:nth-child(1) a {
  border: none;
}

.wrapper {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: #fff;
}

@media (min-width: 1200px) {
  header {
    display: block;
    position: absolute;
    right: 0;
    width: 100%;
    height: auto;
    padding: 0;
    overflow: visible;
    background: rgba(255, 255, 255, 0.9);
  }

  .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 75vw;
    margin: 0 auto;
    padding: 0.5vw 0;
  }

  .logo {
    display: block;
  }

  .logo img {
    width: 13.8vw;
  }

  .nav {
    padding-left: 10vw;
  }

  .nav ul {
    display: flex;
  }

  .nav ul li {
    padding: 0 1vw;
  }

  .nav ul a {
    display: block;
    position: relative;
  }

  .nav ul a {
    position: relative;
    display: block;
    font-size: 0.8vw;
    line-height: 1.2vw;
    overflow: hidden;
    text-align: center;
    color: #000;
  }

  .nav ul .t {
    display: block;
    position: relative;
    transition: 0.3s;
  }

  .nav ul a .b {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    transition: 0.3s;
  }

  .nav ul a:hover .t {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  .nav ul a:hover .b {
    color: #ca1528;
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .lang {
    position: relative;
    display: flex;
    align-items: center;
    width: auto;
    padding: 1vw 0 1vw 2.4vw;
    background: url(../images/lang.png) no-repeat 0 center/2.2vw;
    cursor: pointer;
  }

  .lang span {
    font-size: 0.8vw;
    line-height: 1.2vw;
  }

  .lang i {
    width: 18px;
    height: 9px;
    margin-left: 3px;
    background: url(../images/arrow_down.png) no-repeat 0 0;
  }

  .lang ul {
    display: none;
    position: absolute;
    left: 2.4vw;
    top: 2vw;
    width: 4.4vw;
    padding: 0.5vw 0 0;
  }

  .lang ul li {
    background: rgba(255, 255, 255, 0.9)
  }

  .lang ul a {
    display: block;
    font-size: 0.8vw;
    line-height: 1.4vw;
    color: #333;
    text-align: center;
  }

  .lang ul a:hover {
    color: #ca1528;
  }
}